<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<style>
			/* 
        当前box有没有高度: 会有高度
        为什么有高度: 由内容撑起来
        本质: 内容的行高撑起来

        行盒(inline box):
          作用: 将当前行里面所有的内容全部包裹在一起

          当一个inline-box中有文本时, 他的基线不再是底部, 基线变成最后一行文本的基线
      */
			.box {
				background-color: #f00;
			}
			.small {
				display: inline-block;
				width: 100px;
				height: 400px;
				background-color: #0f0;
				margin-bottom: 30px;
			}

			.box1 {
				background-color: yellow;
			}
		</style>
	</head>
	<body>
		<div class="box">
			Lorem ipsum dolor <span class="small"></span> sit amet consectetur
			adipisicing elit. Incidunt, saepe perspiciatis. Inventore blanditiis
			ipsa dolores. Reprehenderit labore maiores, vero est minima
			consequuntur in sed hic dolor, facere molestiae doloribus quo.
		</div>

		<div class="box1">
			Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quisquam,
			asperiores?
			<img src="./img/kobe01.jpg" alt="" />
			<span class="small">aaxx</span>
		</div>
	</body>
</html>
